def func(a,b,c):
    return not (a and b) and (a or b)

print(func(1,1,1))